<%@ page contentType="text/html;utf-8" language="java" pageEncoding="utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <%@ taglib prefix="authz" uri="http://www.springframework.org/security/tags" %>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>index</title>
    <link rel="stylesheet" type="text/css" href="../resource/css/screen.css"/>
    <link rel="stylesheet" type="text/css" href="../resource/css/manager.css"/>
</head>

<body>
<div class="manager_tool">
    <a href="${pageContext.request.contextPath}/sz/initialUserModify.action"
       class="modifyPwd" id="modifyMess">信息修改</a>
    <authz:authorize ifAnyGranted="ROLE_ADMIN">
        <a href="${pageContext.request.contextPath}/sz/initialAssign.action" class="manager_power">权限管理</a>
    </authz:authorize>
</div>
<%--<div class="upload">--%>
    <%--<authz:authorize ifAnyGranted="ROLE_ADMIN,ROLE_PIC_ADD">--%>
        <%--<a href="${pageContext.request.contextPath}/sz/initialUploadPicture.action">图片上传</a>--%>
    <%--</authz:authorize>--%>
    <%--<authz:authorize ifAnyGranted="ROLE_ADMIN,ROLE_VID_ADD">--%>
        <%--<a href="${pageContext.request.contextPath}/sz/initialUploadVideo.action">视频上传</a>--%>
    <%--</authz:authorize>--%>
    <%--<authz:authorize ifAnyGranted="ROLE_ADMIN,ROLE_RES_ADD">--%>
        <%--<a href="${pageContext.request.contextPath}/sz/initialUploadAudio.action">资源库上传</a>--%>
    <%--</authz:authorize>--%>
<%--</div>--%>

<div class="index_wrap">
    <div class="brand_big">
        <img alt="brand_big" src="../resource/images/brand_big.gif"/>
    </div>

    <div class="index_head">
        <div class="index_head_l">
            <div class="index_head_r">
                <ul id="nav">
                    <li class="nav_image nav_current"><a
                            href="${pageContext.request.contextPath}/sz/bgPicture.action?isAdmin=1"><img alt="image" src="../resource/images/image.gif"/></a>
                    </li>
                    <li class="nav_video"><a href="${pageContext.request.contextPath}/sz/bgVideo.action?isAdmin=1"><img
                            alt="video" src="../resource/images/video.gif"/></a></li>
                    <li class="nav_audio"><a href="${pageContext.request.contextPath}/sz/bgAudio.action?isAdmin=1"><img
                            alt="audio" src="../resource/images/audio.gif"/></a></li>
                    <li class="nav_model"><a href="${pageContext.request.contextPath}/sz/bgModel.action?isAdmin=1"><img
                            alt="model" src="../resource/images/model.gif"/></a></li>
                    <li class="nav_action"><a
                            href="${pageContext.request.contextPath}/sz/bgActivity.action?isAdmin=1"><img alt="action"
                                                                                                          src="../resource/images/action.gif"/></a>
                    </li>
                </ul>
            </div>

        </div>
    </div>
    <div class="upload">
        <authz:authorize ifAnyGranted="ROLE_ADMIN,ROLE_PIC_ADD">
            <a href="${pageContext.request.contextPath}/sz/initialUploadPicture.action">图片上传</a>
        </authz:authorize>
        <authz:authorize ifAnyGranted="ROLE_ADMIN,ROLE_VID_ADD">
            <a href="${pageContext.request.contextPath}/sz/initialUploadVideo.action">视频上传</a>
        </authz:authorize>
        <authz:authorize ifAnyGranted="ROLE_ADMIN,ROLE_RES_ADD">
            <a href="${pageContext.request.contextPath}/sz/initialUploadAudio.action">资源库上传</a>
        </authz:authorize>
    </div>

    <div class="index_footer">
        <p><span>&copy;</span><span>电子科技大学数字媒体技术研究所</span><span>All rights reserved</span></p>

        <p>Powered by Dreamfly</p>
    </div>
</div>
</body>
</html>
